package com.powernode.settings.service;

import com.powernode.commons.utils.ResponseData;
import com.powernode.settings.bean.UserBean;

import javax.servlet.http.HttpSession;

public interface UserService {
    ResponseData findAll();

    ResponseData login(String act, String psw, String code, HttpSession session);

    ResponseData modifyPswById(String id,String oldPsw,String newPsw);

    ResponseData page(Integer pageNum,Integer pageSize);

    ResponseData modifyLockStateById(String id,String state);

    ResponseData add(UserBean userBean);
    ResponseData modify(UserBean user);
}
